﻿<%@ page language="C#" autoeventwireup="true" inherits="Default_OrderComment, App_Web_e1jp1m1s" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title></title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0" />
    <meta name="apple-mobile-web-app-capable" content="yes" />
    <meta name="apple-mobile-web-app-status-bar-style" content="black" />
    <meta name="format-detection" content="telephone=no" />
    <link rel="shortcut icon" href="../Images/favicon.ico" type="image/x-icon" />
    <%=MainCss%>
    <script src="js/jquery.min.js" type="text/javascript"></script>
    <script src="js/main.js" type="text/javascript"></script>
    <style>
        body {
          margin: 0;
          font-family: Arial, Helvetica, sans-serif;
          font-size: 13px;
          line-height: 1.5;
          background:#fff;
        }
        .index_wrapper{padding-bottom:0px !important; background:#fff;}
        img{ width:100%;}
        h2{ text-align: left; color:#333; padding:0 10px; font-weight:normal}
        .content{ padding:10px; margin-top:10px; overflow:hidden}
        .item{padding:10px; border-top:solid 1px #ddd;}
        .date{color:#999;}
        .info{padding:5px 0px;}
        .info{font-size:12pt; color:#000; padding:5px 0px;}
        .reply{padding:10px; border:solid 1px #eee; background:#eee; border-radius:5px; color:#663300}
        .reply .rightDate{color:#999; text-align:right; font-style: italic; padding-top:10px;}
        .btn_s{padding:10px; width:120px; border:0px; background:#cc3300; color:#fff;}
        .txt{border:solid 1px #ccc; width:99%; text-align:left}
    </style>
</head>
    
<body>

    <div class="index_wrapper">

        <header>

            <div class="topbar">
                <a href="javascript:history.back(-1)" class="back_btn"><i class="icon iconfont">&#xf0115;</i></a>
                <a href="#" class="top_home"></a>
                <h1 class="page_title"><asp:Label ID="lblTitle" runat="server"></asp:Label></h1>
            </div>

        </header>

        <form id="form1" runat="server">
            
            <asp:ScriptManager id="ScriptManager1"  runat="server"></asp:ScriptManager>
    
            <asp:UpdatePanel ID="UpdatePanel1" runat="server" UpdateMode="Conditional">
                <ContentTemplate>
                
                    <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" GridLines="None" BorderWidth="0px" OnRowDataBound="GridView1_RowDataBound">
                        <Columns>
                            <asp:TemplateField HeaderText="">
                                <ItemTemplate>
                                    
                                    <div style="padding:5px;">

                                        <table style="width:100%;">
                                            <tr>
                                                <td style="width:80px;">
                                                    <asp:Label ID="lblImage" runat="server" Text='<%# Bind("ImagePath") %>'></asp:Label>
                                                </td>
                                                <td style="text-align:left;">
                                                    <asp:Label ID="lblTitle" runat="server" Text='<%# Bind("Title") %>'></asp:Label>
                                                    <asp:Label ID="lblfkID" runat="server" Text='<%# Bind("fk_ID") %>' Visible="false"></asp:Label>
                                                </td>
                                            </tr>
                                        </table>
                
                                        <div style="padding:10px">
                                            <asp:TextBox ID="txtContent" runat="server" TextMode="MultiLine" Rows="5" CssClass="txt"></asp:TextBox>
                                        </div>
                                        
                                        <div style="padding:10px; border:solid 1px #ccc; margin:0px 10px 10px 10px;">
                                            <asp:DropDownList ID="ddlScore" runat="server" CssClass="ddl">
                                                <asp:ListItem Value="5">★★★★★</asp:ListItem>
                                                <asp:ListItem Value="4">★★★★☆</asp:ListItem>
                                                <asp:ListItem Value="3">★★★☆☆</asp:ListItem>
                                                <asp:ListItem Value="2">★★☆☆☆</asp:ListItem>
                                                <asp:ListItem Value="1">★☆☆☆☆</asp:ListItem>
                                            </asp:DropDownList>
                                        </div>

                                    </div>

                                    <div class="clear"></div>
                    
                                </ItemTemplate>
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                   
                    <div style="padding:10px; text-align:right;">
                        <asp:Button ID="btnSave" runat="server" Text="发表评价" OnClick="btnSave_Click" CssClass="btn_s" />
                    </div>

                </ContentTemplate>
            </asp:UpdatePanel>
    
        </form>

    </div>
    
    <div id="attention-dialog" class="attention-layout"></div>

</body>

</html>